//
//  kqy2VideoTableViewController.m
//  百思不得姐os1
//
//  Created by kqy on 8/4/16.
//  Copyright © 2016 kqy. All rights reserved.
//

#import "kqy2VideoTableViewController.h"

@interface kqy2VideoTableViewController ()

@end

@implementation kqy2VideoTableViewController
- (void)viewDidLoad {
    [super viewDidLoad];
    self.tableView.contentInset = UIEdgeInsetsMake(64, 0, 49, 0);
    
}

- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
    return 30;
}

- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
    
    static NSString *identifier = @"cell";
    UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:identifier];
    if (cell == nil) {
        cell = [[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:identifier];
        cell.backgroundColor = kqyRandomColor;
    }
    cell.textLabel.text = [NSString stringWithFormat:@"%zd %@",indexPath.row, [self class]];
    
    return cell;
    //
}

@end